const path =require("path")

module.exports={
    mode : "development",
    //入口
    entry:"./src/index.js",

    //出口

    output:{
        path:path.resolve(__dirname,"dist"),
        filename : "main.js"
    },

    module:{
        rules:[
            {
                test:/\.css$/i,
                use:["style-loader","css-loader"]
               
            }
        ]
    },
    
}